/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.unsw.bookmarket.service;

import au.edu.unsw.bookmarket.actionform.BookBean;
import au.edu.unsw.bookmarket.actionform.PostAdsBean;
import au.edu.unsw.bookmarket.jdo.Book;
import java.util.List;

/**
 *
 * @author gongz
 */
public interface BookService {

    public BookBean addBook(PostAdsBean postAdsBean);

    public void addBookDirectly(Book book);

    public List<BookBean> getAllBooks();

    public boolean removeAllBooks();
}
